//
//  Config.h
//  Seek&Hide
//
//  Created by 齐思 陈 on 13-10-4.
//
//

#ifndef Seek_Hide_Config_h
#define Seek_Hide_Config_h

#include "cocos2d.h"
#include <iostream>
#include <vector>

using namespace std;

USING_NS_CC;

#define F_SYNTHESIZE_DEFINE(varType, varName, funName)\
protected: varType varName;\
public: virtual varType get##funName(void);\
public: virtual void set##funName(varType var);

#define F_SYNTHESIZE_IMPLEMENT(varType, varName, funName, prefix)    \
varType prefix::get##funName(void) { return varName; } \
void prefix::set##funName(varType var)   \
{ \
if (varName != var) \
{ \
CC_SAFE_RETAIN(var); \
CC_SAFE_RELEASE(varName); \
varName = var; \
} \
}

#define GRIDLENGTH 32

enum GameStates {
    GameStateWaiting,
    GameStateBegin,
    GameStateLoading,
    GameStateRestart,
    GameStateLoadingEnd,
    GameStateGame,
    GameStatePause,
    GameStateEnd,
};

enum GameLogicStates {
    GameLogicStateNull,
    GameLogicStateOwnAction,
    GameLogicStateOwnFreeView,
    GameLogicStateEnemyAction,
};

enum GameModel {
    GameModelClassic,
};

#endif
